Learn about nested attributes, and when to use them.
price
, you might set up different prices as subcategories: price.net
, price.gross
, price.margin
.
Use ‘dot notation’ to separate the parent attribute from its child.
searchableAttributes
and attributesForFaceting
.
Just make sure you use the appropriate dot notation such as price.country
to refer to them.
There’s no limit on the number of nested attributes apart from the default restrictions on record size.
The depth of nesting is also unlimited: you could use something like price.net.us.ca
.